package com.longxi.tianjintianbao.greedao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.ToOne;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.DaoException;
import com.longxi.tianjintianbao.greedao.dao.DaoSession;
import com.longxi.tianjintianbao.greedao.dao.InventoryDao;
import com.longxi.tianjintianbao.greedao.dao.InventoryChildDao;

/**
 * Created by cxw on & 2018/12/13
 */
@Entity
public class InventoryChild {
    @Id(autoincrement = true)
    public Long id;
    public Long iid;//关联巡检单id
    public String number;//资产编号
    public String cagegory;//资产分类
    public String name;//资产名称
    public String department;//使用部门
    public String location;//存放地点
    public String gps;//GPS信息
    public double booknum;//账面数量
    public double inventorynum;//盘点数量
    public String specifications;//型号规格
    public String images;//显示图片
    public String unit;//计量单位
    public String isdraft;//0未盘点 1已盘点未上传 2已上传 3又选择图片准备上传
    public String state;//0普通盘点 1盘盈
    @Generated(hash = 1948575150)
    public InventoryChild(Long id, Long iid, String number, String cagegory,
            String name, String department, String location, String gps,
            double booknum, double inventorynum, String specifications,
            String images, String unit, String isdraft, String state) {
        this.id = id;
        this.iid = iid;
        this.number = number;
        this.cagegory = cagegory;
        this.name = name;
        this.department = department;
        this.location = location;
        this.gps = gps;
        this.booknum = booknum;
        this.inventorynum = inventorynum;
        this.specifications = specifications;
        this.images = images;
        this.unit = unit;
        this.isdraft = isdraft;
        this.state = state;
    }
    @Generated(hash = 721873007)
    public InventoryChild() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getIid() {
        return this.iid;
    }
    public void setIid(Long iid) {
        this.iid = iid;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getCagegory() {
        return this.cagegory;
    }
    public void setCagegory(String cagegory) {
        this.cagegory = cagegory;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDepartment() {
        return this.department;
    }
    public void setDepartment(String department) {
        this.department = department;
    }
    public String getLocation() {
        return this.location;
    }
    public void setLocation(String location) {
        this.location = location;
    }
    public String getGps() {
        return this.gps;
    }
    public void setGps(String gps) {
        this.gps = gps;
    }
    public double getBooknum() {
        return this.booknum;
    }
    public void setBooknum(double booknum) {
        this.booknum = booknum;
    }
    public double getInventorynum() {
        return this.inventorynum;
    }
    public void setInventorynum(double inventorynum) {
        this.inventorynum = inventorynum;
    }
    public String getSpecifications() {
        return this.specifications;
    }
    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }
    public String getImages() {
        return this.images;
    }
    public void setImages(String images) {
        this.images = images;
    }
    public String getUnit() {
        return this.unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    public String getIsdraft() {
        return this.isdraft;
    }
    public void setIsdraft(String isdraft) {
        this.isdraft = isdraft;
    }
    public String getState() {
        return this.state;
    }
    public void setState(String state) {
        this.state = state;
    }

}
